<div class="panel panel-default panel-intro">

    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="active"><a href="#t-one"  data-toggle="tab">视频上传</a></li>
            <li class=""><a href="#t-two"  data-toggle="tab">图片上传</a></li>
            <li class=""><a href="#t-three"  data-toggle="tab">协议</a></li>
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="t-one">
                <form id="edit-form1" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('apply/confg/edit')}">
                    <div class="form-group layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>

                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-url" class="form-control" size="50" name="row[video]" type="text" value="{$row.url|htmlentities}">
                                <div class="input-group-addon no-border no-padding">
                    <span><button type="button"  data-mimetype="mp4,mp3,avi,flv,wmv,png"
                                  data-maxsize="1024M" data-url="ajax/upload" id="faupload-url" class="btn btn-danger faupload" data-input-id="c-url" data-multiple="false" data-preview-id="p-url">
                        <i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-url" class="btn btn-primary fachoose" data-input-id="c-url" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-url"></span>
                            </div>
                            <ul class="row list-inline faupload-preview" id="p-url"></ul>
                        </div>

                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
                            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                        </div>
                    </div>
                </form>
            </div>
            <div class="tab-pane fade" id="t-two">
                <form id="edit-form2" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="{:url('apply/confg/edit')}">
                    <div class="form-group layer-footer">
                        <label class="control-label col-xs-12 col-sm-2"></label>
                        <div class="col-xs-12 col-sm-8">
                            <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
                            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                        </div>
                    </div>
                </form>
            </div>

        </div>
    </div>
</div>






<!--<div class="panel panel-default panel-intro">-->
<!--    {:build_heading()}-->

<!--    <div class="panel-body">-->
<!--        <div id="myTabContent" class="tab-content">-->
<!--            <div class="tab-pane fade active in" id="one">-->
<!--                <div class="widget-body no-padding">-->
<!--                    <div id="toolbar" class="toolbar">-->
<!--                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>-->
<!--                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('guidance/guidance/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>-->
<!--                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('guidance/guidance/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
<!--                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('guidance/guidance/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>-->
<!--                        -->

<!--                        <div class="dropdown btn-group {:$auth->check('guidance/guidance/multi')?'':'hide'}">-->
<!--                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>-->
<!--                            <ul class="dropdown-menu text-left" role="menu">-->
<!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=normal"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>-->
<!--                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=hidden"><i class="fa fa-eye-slash"></i> {:__('Set to hidden')}</a></li>-->
<!--                            </ul>-->
<!--                        </div>-->

<!--                        -->
<!--                    </div>-->
<!--                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"-->
<!--                           data-operate-edit="{:$auth->check('guidance/guidance/edit')}"-->
<!--                           data-operate-del="{:$auth->check('guidance/guidance/del')}"-->
<!--                           width="100%">-->
<!--                    </table>-->
<!--                </div>-->
<!--            </div>-->

<!--        </div>-->
<!--    </div>-->
<!--</div>-->
